package com.zlq.cn.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;

/**
 * <p>
 * 天行数据-明星百科大全
 * </p>
 *
 * @author zhoucl
 * @since 2023-05-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tian_starinfo")
@ApiModel(value = "TianStarinfo对象", description = "天行数据-明星百科大全")
public class TianStarinfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @NotEmpty(message = "姓名不能为空")
    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "国籍")
    private String nationality;

    @ApiModelProperty(value = "生日")
    private String birthDate;

    @ApiModelProperty(value = "职业")
    private String occupation;

    @ApiModelProperty(value = "身高")
    private String high;

    @ApiModelProperty(value = "体重")
    private String weight;

    @ApiModelProperty(value = "简介")
    @TableField(value = "`desc`")
    private String desc;

    @ApiModelProperty(value = "籍贯")
    private String nativePlace;

    @ApiModelProperty(value = "毕业学校")
    private String school;

    @ApiModelProperty(value = "经纪公司")
    private String company;

    @ApiModelProperty(value = "星座")
    private String constellation;

    @ApiModelProperty(value = "习惯")
    private String habit;

    @ApiModelProperty(value = "图片")
    @TableField("image_URL")
    private String imageURL;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @TableField(exist = false)
    @ApiModelProperty(value = "翻页")
    private String page;

    @TableField(exist = false)
    @ApiModelProperty(value = "返回数量")
    private String num;
}
